<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">

    <title>Mobiscroll</title>

    <!-- Bootstrap Include -->
    <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> 

    <!-- Mobiscroll JS and CSS Includes -->
    
    <link href="css/mobiscroll.custom-3.0.0-beta4.min.css" rel="stylesheet" type="text/css" />
    <script src="js/mobiscroll.custom-3.0.0-beta4.min.js" type="text/javascript"></script>

    <style type="text/css">
    /*****************************************************************/
    /* Demo Page styling, you can ignore this in your implementation */
    
    body {
        margin: 0;
        padding: 0;
        font-family: arial, verdana, sans-serif;
        -webkit-font-smoothing: antialiased;
    }
    
    input,
    select {
        width: 100%;
        margin: 0 0 10px 0;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 0;
        background: #fff;
        font-family: arial, verdana, sans-serif;
        text-shadow: none;
        color: #000;
        font-size: 15px;
        -webkit-appearance: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    button {
        display: inline-block;
        text-decoration: none;
        padding: 0.8em 2.6em;
        margin: 20px 10px 0 0;
        outline: 0;
        border: 0;
        overflow: visible;
        cursor: pointer;
        color: #fff;
        background: #5185a8;
        font-family: arial, verdana, sans-serif;
        font-size: 14px;
        font-weight: 100;
    }
    
    button:hover {
        background: #34566d;
    }
    
    .header {
        padding: .625em;
        background: #5185a8;
    }
    
    .header h1 {
        margin: 0;
        padding: 0;
        color: #fff;
        text-align: center;
        font-size: 1.25em;
        font-weight: bold;
        text-shadow: 1px 1px 1px #000;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .demo-main,
    .demo-wrapper {
        padding: 1em;
    }
    
    .demo-iframe {
        padding: 10px 10px 10px 10px;
        text-shadow: none;
    }
    /* Demo page styling END */
    /*************************/
    
        /* Basic usage demo styling */
    .demo-stars {
        padding: 0!important;
    }
    
    .md-stars .md-products {
        list-style: none;
        margin: 0;
        padding: 0;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -ms-touch-action: none;
    }
    
    .md-stars .md-products li {
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0;
        background: #f0f0f0;
        border-bottom: 1px solid #b1b1b1;
        border-top: 1px solid #fff;
    }
    
    .md-stars .md-products li h3 {
        margin: 5px 0;
        font-weight: normal;
        font-size: initial;
    }
    
    .md-stars .md-products li p {
        margin: 5px 0;
        color: #717171;
    }
    
    .md-stars .md-products li .md-product {
        height: 50px;
        padding: 5px 65px 5px 60px;
        color: #333;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }
    
    .md-stars .md-products li .md-active {
        background: #ddd;
    }
    
    .md-stars .md-products li .md-rate {
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 60px;
        text-align: right;
    }
    
    .md-stars .md-products li .md-rating {
        padding-right: 10px;
        font-size: 17px;
        line-height: 60px;
    }
    
    .md-stars .md-products img {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        border: 0;
    }
    
    @media (max-width: 960px) {
        .demo-cont-c .md-stars {
            padding: 0;
        }
        .demo-cont-c .demo-phone-c .demo-phone {
            margin: 0 -20px 40px;
        }
    }

    /* Image Only demo styling */
    .md-image-fruit .dw-ul .dw-li .mbsc-img-w {
        text-align: center;
    }
    
    .md-image-fruit .mbsc-sc-whl-sc .mbsc-sc-itm .mbsc-img-w {
        text-align: center;
    }

    /* Basic usage demo styling */
    .md-color {
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-indent: 40px;
        color: #000;
        border: 1px solid #000;
        background: #ff0000;
        margin: 5px 0;
        white-space: nowrap;
    }
    
    .demo-display-inline .md-color {
        display: block;
        width: auto;
        height: auto;
        text-indent: 0;
        margin: 0;
        border: 0;
        background: none !important;
    }
    
    .demo-display-inline .md-color .mbsc-fr-inline,
    .demo-display-inline .md-color .dw-inline {
        text-align: left;
    }

    /* Two inputs demo styling */
    .demo-display-inline .demo-twoinputs input,
    .demo-display-inline .demo-twoinputs label,
    .demo-display-inline .demo-twoinputs br {
        display: none;
    }

    /* Create, remove, update demo styling */
    .demo-comp-listview .mbsc-lv-fixed-header-ctx { text-shadow: none; }
    .demo-comp-listview .demo-iframe { padding: 0; }
    .demo-comp-listview .demo-note { margin: 10px; }
    .md-demo-note {
        cursor: pointer;
    }
    
    .md-wo-list {
        line-height: 30px;
        text-shadow: none;
    }
    
    .md-wo-list li {
        line-height: normal;
    }
    
    .md-wo-status {
        font-size: 10px;
        -webkit-backface-visibility: hidden;
    }
    
    .md-wo-empty {
        padding: 10px;
    }

    /* Sort handle demo styling */
    .demo-comp-listview .mbsc-lv-fixed-header-ctx { text-shadow: none; }
    .demo-comp-listview .demo-iframe { padding: 0; }
    .demo-comp-listview .demo-note { margin: 10px; }
    .demo-sorthandle ul {
        font-size: 16px;
    }

    /* Action menu demo styling */
    .demo-comp-listview .mbsc-lv-fixed-header-ctx { text-shadow: none; }
    .demo-comp-listview .demo-iframe { padding: 0; }
    .demo-comp-listview .demo-note { margin: 10px; }
    .demo-actionmenu ul {
        font-size: 18px;
    }
    
    .demo-notification {
        position: absolute;
        width: 100%;
        z-index: 100001;
        left: 0;
        bottom: 20px;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        -webkit-transition: opacity 200ms;
        -moz-transition: opacity 200ms;
        transition: opacity 200ms;
    }
    
    .demo-notification-fixed {
        position: fixed;
    }
    
    .demo-notification-i {
        display: inline-block;
        background: #000;
        color: #fff;
        line-height: 20px;
        text-shadow: none;
        box-shadow: 0 0 3px rgba(0, 0, 0, .5);
        border-radius: 3px;
        padding: 5px;
    }
    
    .demo-notification-v {
        opacity: 1;
    }

    /* Currency demo styling */
    .demo-currency {
        padding: 0!important;
    }
    
    .md-stepper-np .md-demo {
        text-align: center;
    }
    
    .md-stepper-np .md-demo .mbsc-desc {
        font-size: 16px;
        padding-bottom: 16px;
    }
    
    .md-stepper-np .md-demo .mbsc-btn {
        margin-top: 36px;
    }
    
    .md-stepper-np .md-title {
        margin-top: 40px;
    }
    
    .md-stepper-np {
        display: inline-block;
        width: 100%;
        height: 100%;
    }
    
    .md-stepper-np .mbsc-segmented {
        left: 50%;
        margin-left: -122px;
    }
    
    .md-stepper-np.mbsc-form .mbsc-stepper .mbsc-segmented-item {
        width: 4.375em;
    }
    
    .md-stepper-np.mbsc-form .mbsc-stepper .mbsc-segmented-item:nth-child(3) {
        width: 6.25em;
    }
    
    .md-stepper-np.mbsc-form .mbsc-stepper input {
        left: 5em;
        width: 7.1428em;
    }

    /* Tab menu demo styling */
    .demo-comp-menustrip #demombscr { position: static; }
    .demo-comp-menustrip .demo-iframe { padding: 0; min-height: 300px; }
    .demo-comp-menustrip .demo-phone-np .demo-phone { margin: 0 -20px -20px -20px; }
    .md-tab-h {
        display: none;
    }
    
    .md-tabs-sel {
        display: block;
    }
    
    .demo-tabs .md-tabs-sel {
        display: block;
    }
    
    .md-app-ic {
        position: absolute;
        top: 50%;
        left: 15px;
        margin-top: -12px;
        font-size: 20px;
        line-height: 24px;
    }
    
    .md-app-detail {
        display: block;
        overflow: hidden;
    }
    
    .md-app-size {
        font-size: 10px;
        display: block;
        opacity: .6;
        float: left;
    }
    
    .md-app-date {
        font-size: 10px;
        display: block;
        opacity: .6;
        float: right;
    }
    
    .md-apps-ul li.mbsc-lv-item {
        padding-left: 50px;
    }
    
    .demo-display-top .md-apps-ul {
        padding-top: 47px;
    }
    
    .demo-display-top .mbsc-lv-android .md-apps-ul {
        padding-top: 34px;
    }
    
    .demo-display-top .mbsc-lv-android-holo .md-apps-ul {
        padding-top: 45px;
    }
    
    .demo-display-top .mbsc-lv-bootstrap .md-apps-ul {
        padding-top: 36px;
    }
    
    .demo-display-top .mbsc-lv-ios .md-apps-ul {
        padding-top: 42px;
    }
    
    .demo-display-top .mbsc-lv-ios-classic .md-apps-ul {
        padding-top: 38px;
    }
    
    .demo-display-top .mbsc-lv-jqm .md-apps-ul {
        padding-top: 33px;
    }
    
    .demo-display-top .mbsc-lv-sense-ui .md-apps-ul {
        padding-top: 39px;
    }
    
    .demo-display-top .mbsc-lv-sense .md-apps-ul {
        padding-top: 39px;
    }
    
    .demo-display-top .mbsc-lv-wp .md-apps-ul {
        padding-top: 75px;
    }
    
    .demo-display-bottom .demo-tabs {
        padding-bottom: 75px;
    }

    /* Dialog demo styling */
    .md-text-center {
        text-align: center;
    }
    
    .md-dialog {
        width: 260px;
        margin: 0 auto;
    }

    /* Alert message demo styling */
    .md-body {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Progress demo styling */
    .md-progress-demo .md-demo .mbsc-progress-cont {
        padding: 1em;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    .md-progress-demo .md-upload.mbsc-progress,
    .md-progress-demo .md-demo.mbsc-progress {
        overflow: hidden;
    }
    
    .md-progress-demo .md-demo .mbsc-progress-step-label {
        overflow: visible;
    }
    
    .md-progress-demo.mbsc-wp .mbsc-progress {
        min-height: 3.75em;
    }
    
    .md-progress-demo .md-upload .mbsc-progress-cont {
        padding-right: 1em;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    </style>

    <script>
    // -------------------------------------------------------------------
    // Demo page code START, you can ignore this in your implementation
    var $ = mobiscroll.$;

    $(function () {
        var noDisplay = {
            listview: true,
            forms: true,
            menustrip: 'partial'
        };

        function init() {
            var demo = $('#demo').val(),
                component = demo.split(/(?=[A-Z])/)[0],
                demoContainer = $('.demo-wrapper-' + demo);

            // reset options
            resetOptions(component);

            // hide all demos
            $('.demo-wrapper').hide();

            // show current demo
            demoContainer.show();

            // reinitialize demo
            window[demo + 'Init']();

            demoContainer.trigger('mbsc-enhance');
        }

        function resetOptions(component) {
            var displayValue = $('#display').val();

            // reset display
            $('#display').parent().show();
            $('#display option').show();

            if (noDisplay[component] === 'partial') {
                if (displayValue == 'modal' || displayValue == 'bubble') {
                    $('#display').val('inline');
                }
                $('#display option[value="modal"]').hide();
                $('#display option[value="bubble"]').hide();
            } else if (noDisplay[component] === true) {
                $('#display').parent().hide();
            }
        }

        $('#main').find('.settings').on('change', init);

        init();
    });
    // Demo page code END
    // -------------------------------------------------------------------

            // Basic usage date demo script
        function datetimeDateInit() {
            var instance = mobiscroll.date('#datetimeDate-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-mode
            });

            document
                .getElementById('datetimeDate-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('datetimeDate-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Datetime with invalids demo script
        function datetimeInvalidInit() {
            var instance = mobiscroll.datetime('#datetimeInvalid-demo', {
                theme: $('#theme').val(),                                         // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),                                   // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),                                 // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),                                       // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-mode
                min: new Date(now.getFullYear(), now.getMonth(), now.getDate()),  // More info about min: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-min
                invalid: ['w0', 'w6', '5/1', '12/24', '12/25'],                   // More info about invalid: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-invalid
                dateOrder: 'Mddyy',                                               // More info about dateOrder: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!localization-dateOrder
                timeWheels: 'HHii'                                                // More info about timeWheels: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!localization-timeWheels
            });

            document
                .getElementById('datetimeInvalid-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('datetimeInvalid-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Basic usage time demo script
        function datetimeTimeInit() {
            var instance = mobiscroll.time('#datetimeTime-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-mode
                headerText: false,                 // More info about headerText: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-headerText
                maxWidth: 90                       // More info about maxWidth: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-maxWidth
            });

            document
                .getElementById('datetimeTime-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('datetimeTime-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Basic usage demo script
        function selectBasicInit() {
            var instance = mobiscroll.select('#selectBasic-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-mode
                minWidth: 200                      // More info about minWidth: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-minWidth
            });

            document
                .getElementById('selectBasic-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('selectBasic-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Group options demo script
        function selectGroupselectInit() {
            var instance = mobiscroll.select('#selectGroupselect-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-mode
                label: 'City',                     // More info about label: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-label
                group: true,                       // More info about group: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-group
                groupLabel: 'Country',             // More info about groupLabel: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-groupLabel
                width: [100, 170]                  // More info about width: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-width
            });

            document
                .getElementById('selectGroupselect-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('selectGroupselect-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Basic usage demo script
        function ratingStarsInit() {
            mobiscroll.rating('.md-product', {
                theme: $('#theme').val(),               // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),         // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),       // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),             // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-mode
                label: 'Rate Item',                     // More info about label: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-label
                onSet: function (event, inst) {         // More info about onSet: https://docs.mobiscroll.com/3-0-0_beta4/rating#!event-onSet
                    this.closest('li').querySelector('.md-rating').innerHTML = event.valueText + ' of 5';
                },
                onBeforeShow: function (event, inst) {  // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta4/rating#!event-onBeforeShow
                    inst.setVal(this.closest('li').querySelector('.md-rating').innerHTML[0], true);
                }
            });
        }

        // Grades demo script
        function ratingGradesInit() {
            var instance = mobiscroll.rating('#ratingGrades-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-mode
                style: 'grade',                    // More info about style: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-style
                label: 'Rating'                    // More info about label: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-label
            });

            document
                .getElementById('ratingGrades-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('ratingGrades-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Distance demo script
        function measurementDistanceInit() {
            var instance = mobiscroll.distance('#measurementDistance-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/measurement#!opt-mode
            });

            document
                .getElementById('measurementDistance-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('measurementDistance-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Speed demo script
        function measurementSpeedInit() {
            var instance = mobiscroll.speed('#measurementSpeed-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/measurement#!opt-mode
            });

            document
                .getElementById('measurementSpeed-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('measurementSpeed-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Temperature demo script
        function measurementTemperatureInit() {
            var instance = mobiscroll.temperature('#measurementTemperature-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/measurement#!opt-mode
            });

            document
                .getElementById('measurementTemperature-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('measurementTemperature-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Mass demo script
        function measurementMassInit() {
            var instance = mobiscroll.mass('#measurementMass-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/measurement#!opt-mode
            });

            document
                .getElementById('measurementMass-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('measurementMass-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Force demo script
        function measurementForceInit() {
            var instance = mobiscroll.force('#measurementForce-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/measurement#!opt-mode
            });

            document
                .getElementById('measurementForce-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('measurementForce-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Basic usage demo script
        function listTreelistInit() {
            var instance = mobiscroll.treelist('#listTreelist-demo', {
                theme: $('#theme').val(),                 // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),           // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),         // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),               // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-mode
                width: [90, 160, 170],                    // More info about width: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-width
                placeholder: 'Please Select ...',         // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-placeholder
                labels: ['Region', 'Supervisor', 'Tech']  // More info about labels: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-labels
            });

            document
                .getElementById('listTreelist-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('listTreelist-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Image and Text demo script
        function imageTextInit() {
            var instance = mobiscroll.image('#imageText-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-mode
                placeholder: 'Please Select ...',  // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-placeholder
                labels: ['Make'],                  // More info about labels: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-labels
                enhance: true,                     // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-enhance
                defaultValue: ['Citroen']          // More info about defaultValue: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-defaultValue
            });

            document
                .getElementById('imageText-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('imageText-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Image Only demo script
        function imageBasicInit() {
            var instance = mobiscroll.image('#imageBasic-demo', {
                theme: $('#theme').val(),           // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),     // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),   // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-mode
                cssClass: 'md-image-fruit',
                labels: ['Select Favorite Fruit'],  // More info about labels: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-labels
                placeholder: 'Please Select ...',   // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-placeholder
                width: 200,                         // More info about width: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-width
                enhance: true                       // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-enhance
            });

            document
                .getElementById('imageBasic-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('imageBasic-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Unordered list demo script
        function listUnorderedInit() {
            var instance = mobiscroll.treelist('#listUnordered-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-mode
                labels: ['Ingredients'],           // More info about labels: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-labels
                placeholder: 'Please Select ...',  // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-placeholder
                width: 200                         // More info about width: https://docs.mobiscroll.com/3-0-0_beta4/list#!opt-width
            });

            document
                .getElementById('listUnordered-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('listUnordered-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // With time scroller demo script
        function calendarTimeInit() {
            var instance = mobiscroll.calendar('#calendarTime-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-mode
                controls: ['calendar', 'time'],    // More info about controls: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-controls
                showScrollArrows: true             // More info about showScrollArrows: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-showScrollArrows
            });

            document
                .getElementById('calendarTime-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('calendarTime-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Basic usage demo script
        function calendarBasicInit() {
            var instance = mobiscroll.calendar('#calendarBasic-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val()         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-mode
            });

            document
                .getElementById('calendarBasic-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('calendarBasic-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Multi day select demo script
        function calendarMultidayInit() {
            var now = new Date(),
                year = now.getFullYear(),
                month = now.getMonth(),
                instance = mobiscroll.calendar('#calendarMultiday-demo', {
                    theme: $('#theme').val(),                                                                      // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),                                                                    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),                                                                  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),                                                                        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-mode
                    counter: true,                                                                                 // More info about counter: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-counter
                    select: 'multiple',                                                                            // More info about select: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-select
                    defaultValue: [new Date(year, month, 1), new Date(year, month, 2), new Date(year, month, 10)]  // More info about defaultValue: https://docs.mobiscroll.com/3-0-0_beta4/calendar#!opt-defaultValue
                });

            document
                .getElementById('calendarMultiday-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('calendarMultiday-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Multiple select demo script
        function selectMultipleInit() {
            var instance = mobiscroll.select('#selectMultiple-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-mode
                minWidth: 200                      // More info about minWidth: https://docs.mobiscroll.com/3-0-0_beta4/select#!opt-minWidth
            });

            document
                .getElementById('selectMultiple-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('selectMultiple-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Basic usage demo script
        function timespanBasicInit() {
            var instance = mobiscroll.timespan('#timespanBasic-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/timespan#!opt-mode
                wheelOrder: 'iiss'                 // More info about wheelOrder: https://docs.mobiscroll.com/3-0-0_beta4/timespan#!opt-wheelOrder
            });

            document
                .getElementById('timespanBasic-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('timespanBasic-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Day/Hour/Minute span demo script
        function timespanDhmInit() {
            var instance = mobiscroll.timespan('#timespanDhm-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/timespan#!opt-mode
                wheelOrder: 'ddhhii'               // More info about wheelOrder: https://docs.mobiscroll.com/3-0-0_beta4/timespan#!opt-wheelOrder
            });

            document
                .getElementById('timespanDhm-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('timespanDhm-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Countdown demo script
        function timerCountdownInit() {
            mobiscroll.timer('#timerCountdown-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/timer#!opt-mode
                targetTime: 10,                    // More info about targetTime: https://docs.mobiscroll.com/3-0-0_beta4/timer#!opt-targetTime
                maxWheel: 'minutes',               // More info about maxWheel: https://docs.mobiscroll.com/3-0-0_beta4/timer#!opt-maxWheel
                minWidth: 100,                     // More info about minWidth: https://docs.mobiscroll.com/3-0-0_beta4/timer#!opt-minWidth
                onFinish: function () {            // More info about onFinish: https://docs.mobiscroll.com/3-0-0_beta4/timer#!event-onFinish
                    alert('Countdown finished!');
                }
            });
        }

        // Basic usage demo script
        function colorHxInit() {
            mobiscroll.color('#colorHx-demo', {
                theme: $('#theme').val(),               // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),         // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),       // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),             // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/color#!opt-mode
                onBeforeShow: function (event, inst) {  // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta4/color#!event-onBeforeShow
                    if (this.innerHTML) {
                        inst.setVal(this.innerHTML);
                    } else {
                        this.innerHTML = '#colorHx-ff0000';
                        this.style.background = 'red';
                    }
                },
                onSet: function (event, inst) {         // More info about onSet: https://docs.mobiscroll.com/3-0-0_beta4/color#!event-onSet
                    this.innerHTML = event.valueText;
                    this.style.background = event.valueText;
                }
            });
        }

        // Basic usage demo script
        function rangeBasicInit() {
            var instance = mobiscroll.range('#rangeBasic-demo', {
                theme: $('#theme').val(),                                     // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),                               // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),                             // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),                                   // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-mode
                defaultValue: [new Date(2014, 3, 10), new Date(2014, 3, 17)]  // More info about defaultValue: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-defaultValue
            });

            document
                .getElementById('rangeBasic-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('rangeBasic-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Time range demo script
        function rangeTimeInit() {
            var instance = mobiscroll.range('#rangeTime-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-mode
                controls: ['time'],                // More info about controls: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-controls
                maxWidth: 100                      // More info about maxWidth: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-maxWidth
            });

            document
                .getElementById('rangeTime-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('rangeTime-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Two inputs demo script
        function rangeTwoinputsInit() {
            mobiscroll.range('#rangeTwoinputs-demo', {
                theme: $('#theme').val(),                 // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),           // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),         // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),               // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-mode
                startInput: '#rangeTwoinputs-startDate',  // More info about startInput: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-startInput
                endInput: '#rangeTwoinputs-endDate'       // More info about endInput: https://docs.mobiscroll.com/3-0-0_beta4/range#!opt-endInput
            });
        }

        // Events demo script
        function eventcalendarEventInit() {
            var now = new Date(),
                instance = mobiscroll.eventcalendar('#eventcalendarEvent-demo', {
                    theme: $('#theme').val(),      // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                    layout: 'liquid',              // More info about layout: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!opt-layout
                    firstDay: 1,                   // More info about firstDay: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!localization-firstDay
                    yearChange: true,              // More info about yearChange: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!opt-yearChange
                    calendarScroll: 'horizontal',  // More info about calendarScroll: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!opt-calendarScroll
                    showOuterDays: true,           // More info about showOuterDays: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!opt-showOuterDays
                    showEventCount: true,          // More info about showEventCount: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!opt-showEventCount
                    data: [{                       // More info about data: https://docs.mobiscroll.com/3-0-0_beta4/eventcalendar#!opt-data
                        d: new Date(now.getFullYear(), now.getMonth(), 8, 8, 0),
                        text: 'Green box to post office',
                        color: '#eventcalendarEvent-6e7f29'
                    }, {
                        d: new Date(now.getFullYear(), now.getMonth(), 8, 8, 45),
                        text: 'Quick mtg. with Martin',
                        color: '#eventcalendarEvent-de3d83'
                    }, {
                        d: new Date(now.getFullYear(), now.getMonth(), 8, 9, 30),
                        text: 'Product team mtg.',
                        color: '#eventcalendarEvent-f67944'
                    }, {
                        d: new Date(now.getFullYear(), now.getMonth(), 8, 11, 0),
                        text: 'Stakeholder mtg.',
                        color: '#eventcalendarEvent-f67944'
                    }, {
                        d: new Date(now.getFullYear(), now.getMonth(), 8, 12, 30),
                        text: 'Lunch @ Butcher\'s',
                        color: '#eventcalendarEvent-00aabb'
                    }, {
                        d: new Date(now.getFullYear(), now.getMonth(), 8, 15, 0),
                        text: 'General orientation',
                        color: '#eventcalendarEvent-f67944'
                    }, {
                        d: (now.getMonth() + 1) + '/14',
                        text: 'Dexter BD',
                        color: '#eventcalendarEvent-37bbe4'
                    }, {
                        d: (now.getMonth() + 1) + '/5',
                        text: 'Luke BD',
                        color: '#eventcalendarEvent-37bbe4'
                    }, {
                        d: 'w3',
                        text: 'Employment (Semi-weekly)',
                        color: '#eventcalendarEvent-635045'
                    }, {
                        d: 'w5',
                        text: 'Employment (Semi-weekly)',
                        color: '#eventcalendarEvent-635045'
                    }, {
                        start: new Date(now.getFullYear(), now.getMonth(), 26),
                        end: new Date(now.getFullYear(), now.getMonth(), 31),
                        text: 'Dean OFF',
                        color: '#eventcalendarEvent-e7b300'
                    }, {
                        start: new Date(now.getFullYear(), (now.getMonth() + 1), 5),
                        end: new Date(now.getFullYear(), (now.getMonth() + 1), 14),
                        text: 'Mike OFF',
                        color: '#eventcalendarEvent-e7b300'
                    }, {
                        d: '11/2',
                        text: 'File Form 720 for the third quarter',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/2',
                        text: 'File Form 730 and pay tax on wagers accepted during September',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/2',
                        text: 'File Form 2290 and pay the tax for vehicles first used during September',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/2',
                        text: 'File Form 941 for the third quarter',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/2',
                        text: 'Deposit FUTA owed through Sep if more than $500',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/30',
                        text: 'Deposit payroll tax for payments on Nov 21-24 if the semiweekly deposit rule applies',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/30',
                        text: 'File Form 730 and pay tax on wagers accepted during October',
                        color: '#eventcalendarEvent-a63e14'
                    }, {
                        d: '11/30',
                        text: 'File Form 2290 and pay the tax for vehicles first used during October',
                        color: '#eventcalendarEvent-a63e14'
                    }]
                });

            document
                .getElementById('eventcalendarEvent-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('eventcalendarEvent-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Create, remove, update demo script
        function listviewUpdateInit() {
            var ids = 6,
                demoNote = document.getElementById('#listviewUpdate-demo_note'),
                ul = document.getElementById('listviewUpdate-demo');
            
            mobiscroll.listview(ul, {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                sortable: true,                    // More info about sortable: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-sortable
                iconSlide: true,                   // More info about iconSlide: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-iconSlide
                striped: true,                     // More info about striped: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-striped
                stages: [{                         // More info about stages: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-stages
                    percent: 25,
                    color: 'crimson',
                    icon: 'checkmark',
                    text: 'Complete',
                    action: function (event, inst) {
                        event.target.querySelector('.md-wo-status').innerHTML = 'Completed';
                    }
                }, {
                    percent: -50,
                    color: 'red',
                    icon: 'remove',
                    text: 'Delete',
                    confirm: true,
                    action: function (event, inst) {
                        inst.remove(event.target);
                        return false;
                    }
                }, {
                    percent: 50,
                    color: 'green',
                    icon: 'plus',
                    text: 'Spawn',
                    undo: true,                    // More info about undo: https://docs.mobiscroll.com/3-0-0_beta4/listview#!methods-undo
                    action: function (event, inst) {
                        inst.add(++ids, 'Work order #listviewUpdate-000' + ids + ' created from WO #listviewUpdate-000' + event.target.getAttribute('data-id') + '<div class="md-wo-status">Assigned</div>', event.index + 1);
                    }
                }, {
                    percent: -25,
                    color: 'olive',
                    icon: 'clock',
                    text: 'Pending',
                    action: function (event, inst) {
                        event.target.querySelector('.md-wo-status').innerHTML = 'Pending';
                    }
                }],
                onItemAdd: function () {           // More info about onItemAdd: https://docs.mobiscroll.com/3-0-0_beta4/listview#!event-onItemAdd
                    demoNote.style.display = "none";
                },
                onItemRemove: function () {        // More info about onItemRemove: https://docs.mobiscroll.com/3-0-0_beta4/listview#!event-onItemRemove
                    if (ul.childNodes.length < 2) {
                        demoNote.style.display = "block";
                    }
                }
            });
            
            demoNote.addEventListener('click', function () {
                window.location.reload();
            });
        }

        // Sort handle demo script
        function listviewSorthandleInit() {
            mobiscroll.listview('#listviewSorthandle-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                swipe: false,                      // More info about swipe: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-swipe
                sortable: {                        // More info about sortable: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-sortable
                    handle: 'right'
                },
                enhance: true                      // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-enhance
            });
        }

        // Action menu demo script
        function listviewActionmenuInit() {
            mobiscroll.listview('#listviewActionmenu-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                enhance: true,                     // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-enhance
                actions: [{                        // More info about actions: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-actions
                    icon: 'link',
                    action: function (event, inst) {
                        notify('Linked');
                    }
                }, {
                    icon: 'star3',
                    action: function (event, inst) {
                        notify('Starred');
                    }
                }, {
                    icon: 'remove',
                    undo: true,                    // More info about undo: https://docs.mobiscroll.com/3-0-0_beta4/listview#!methods-undo
                    action: function (event, inst) {
                        inst.remove(li);
                        return false;
                    }
                }, {
                    icon: 'download',
                    action: function (event, inst) {
                        notify('Downloaded');
                    }
                }, ],
                itemGroups: {                      // More info about itemGroups: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-itemGroups
                    folder: {
                        actions: [{                        // More info about actions: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-actions
                            icon: 'link',
                            action: function (event, inst) {
                                notify('Linked');
                            }
                        }, {
                            icon: 'star3',
                            action: function (event, inst) {
                                notify('Starred');
                            }
                        }, {
                            icon: 'download',
                            action: function (event, inst) {
                                notify('Downloaded');
                            }
                        }, ]
                    },
                    music: {
                        actions: [{                        // More info about actions: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-actions
                            icon: 'link',
                            action: function (event, inst) {
                                notify('Linked');
                            }
                        }, {
                            icon: 'star3',
                            action: function (event, inst) {
                                notify('Starred');
                            }
                        }, {
                            icon: 'download',
                            action: function (event, inst) {
                                notify('Downloaded');
                            }
                        }, {
                            icon: 'play',
                            action: function (event, inst) {
                                notify('Playing...');
                            }
                        }, {
                            icon: 'remove',
                            undo: true,                    // More info about undo: https://docs.mobiscroll.com/3-0-0_beta4/listview#!methods-undo
                            action: function (event, inst) {
                                inst.remove(ev.target);
                                return false;
                            }
                        }]
                    },
                    movie: {
                        actions: [{                        // More info about actions: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-actions
                            icon: 'link',
                            action: function (event, inst) {
                                notify('Linked');
                            }
                        }, {
                            icon: 'star3',
                            action: function (event, inst) {
                                notify('Starred');
                            }
                        }, {
                            icon: 'download',
                            action: function (event, inst) {
                                notify('Downloaded');
                            }
                        }, {
                            icon: 'play',
                            action: function (event, inst) {
                                notify('Playing...');
                            }
                        }, {
                            icon: 'remove',
                            undo: true,                    // More info about undo: https://docs.mobiscroll.com/3-0-0_beta4/listview#!methods-undo
                            action: function (event, inst) {
                                inst.remove(ev.target);
                                return false;
                            }
                        }]
                    },
                    picture: {
                        actions: [{                        // More info about actions: https://docs.mobiscroll.com/3-0-0_beta4/listview#!opt-actions
                            icon: 'link',
                            action: function (event, inst) {
                                notify('Linked');
                            }
                        }, {
                            icon: 'star3',
                            action: function (event, inst) {
                                notify('Starred');
                            }
                        }, {
                            icon: 'download',
                            action: function (event, inst) {
                                notify('Downloaded');
                            }
                        }, {
                            icon: 'print',
                            action: function (event, inst) {
                                notify('Printing...');
                            }
                        }, {
                            icon: 'remove',
                            undo: true,                    // More info about undo: https://docs.mobiscroll.com/3-0-0_beta4/listview#!methods-undo
                            action: function (event, inst) {
                                inst.remove(event.target);
                                return false;
                            }
                        }]
                    }
                }
            });
            
            var notification = document.createElement('div'),
                notificationTimer;
            
            notification.innerHTML = '<div class="demo-notification"><div class="demo-notification-i"></div></div>';
            notification = notification.firstChild;
            document.body.appendChild(notification);
            
            function notify(text) {
            
                clearTimeout(notificationTimer);

                notification.style.display = 'block';
                notification.firstChild.innerHTML = text;
            
                if (notification.classList.contains('demo-notification-v')) {
                    notification.classList.remove('demo-notification-v');
                    notificationTimer = setTimeout(function () {
                        notification.classList.add('demo-notification-v');
                    }, 200);
                } else {
                    notification.classList.add('demo-notification-v');
                }
            
                notificationTimer = setTimeout(function () {
                    notification.classList.remove('demo-notification-v');
                    notificationTimer = setTimeout(function () {
                        notification.style.display = 'none';
                    }, 200);
                }, 2000);
            }
        }

        // Custom Icons demo script
        function ratingIconsInit() {
            var instance = mobiscroll.rating('#ratingIcons-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-mode
                label: 'Rating',                   // More info about label: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-label
                icon: {                            // More info about icon: https://docs.mobiscroll.com/3-0-0_beta4/rating#!opt-icon
                    filled: 'heart'
                }
            });

            document
                .getElementById('ratingIcons-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('ratingIcons-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Decimal demo script
        function numberDecimalInit() {
            var instance = mobiscroll.number('#numberDecimal-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/number#!opt-mode
                maxWidth: 100                      // More info about maxWidth: https://docs.mobiscroll.com/3-0-0_beta4/number#!opt-maxWidth
            });

            document
                .getElementById('numberDecimal-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('numberDecimal-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        //  Decimal demo script
        function numpadDecimalInit() {
            var instance = mobiscroll.numpad('#numpadDecimal-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                min: 1,
                scale: 2,
                preset: 'decimal'                  // More info about preset: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-preset
            });

            document
                .getElementById('numpadDecimal-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('numpadDecimal-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Currency demo script
        function numpadCurrencyInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()                      // Specify theme like: theme: 'ios' or omit setting to use default
            };
            
            var numpad,
                stepperPrice = document.querySelector('.md-price'),
                numpadCons = document.querySelector('.md-numpad');

            numpad = mobiscroll.numpad('.md-numpad', {
                 
                theme: $('#theme').val(),  // Specify theme like: theme: 'ios' or omit setting to use default
                preset: 'decimal',                            // More info about preset: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-preset
                min: 5,
                max: 500,
                prefix: '$',
                onSet: function (event, inst) {               // More info about onSet: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!event-onSet
                    stepperPrice.value = event.valueText;
                }
            });
            
            numpad.setVal(stepperPrice.value);
            
            numpad.attachShow(stepperPrice);
            
            stepperPrice.addEventListener('change', function (ev) {
                numpadCons.value = this.value;
                ev.target.value = '$' + this.value;
            });
            
            stepperPrice.value = '$' + stepperPrice.value;
        }

        // Time demo script
        function numpadTimeInit() {
            var instance = mobiscroll.numpad('#numpadTime-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                preset: 'time',                    // More info about preset: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-preset
                timeFormat: 'HH:ii A'
            });

            document
                .getElementById('numpadTime-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('numpadTime-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Masked Entry - PIN demo script
        function numpadPinInit() {
            var instance = mobiscroll.numpad('#numpadPin-demo', {
                theme: $('#theme').val(),           // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),     // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),   // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                template: 'dddd',                   // More info about template: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-template
                allowLeadingZero: true,             // More info about allowLeadingZero: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-allowLeadingZero
                placeholder: '-',                   // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-placeholder
                mask: '*',                          // More info about mask: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!opt-mask
                validate: function (event, inst) {  // More info about validate: https://docs.mobiscroll.com/3-0-0_beta4/numpad#!event-validate
                    return {
                        invalid: event.values.length != 4
                    };
                }
            });

            document
                .getElementById('numpadPin-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('numpadPin-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Setting min and max values demo script
        function datetimeMinmaxInit() {
            var instance = mobiscroll.date('#datetimeMinmax-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-mode
                min: new Date(2014, 8, 15),        // More info about min: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-min
                max: new Date(2024, 8, 14)         // More info about max: https://docs.mobiscroll.com/3-0-0_beta4/datetime#!opt-max
            });

            document
                .getElementById('datetimeMinmax-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('datetimeMinmax-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Tab menu demo script
        function menustripTabsInit() {
            mobiscroll.menustrip('#menustripTabs-demo', {
                theme: $('#theme').val(),            // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),      // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),    // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                type: 'tabs',                        // More info about type: https://docs.mobiscroll.com/3-0-0_beta4/menustrip#!opt-type
                onItemTap: function (event, inst) {  // More info about onItemTap: https://docs.mobiscroll.com/3-0-0_beta4/menustrip#!event-onItemTap
                    document.querySelector('.md-tabs-sel').classList.remove('md-tabs-sel');
                    document.querySelector('.' + event.target.getAttribute('data-tab')).classList.add('md-tabs-sel');
                }
            });
            
            mobiscroll.listview('.md-apps-ul', {
                theme: $('#theme').val(),            // Specify theme like: theme: 'ios' or omit setting to use default
                
                swipe: false
            });
        }

        // Icon and Text demo script
        function imageIconsInit() {
            var instance = mobiscroll.image('#imageIcons-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-mode
                placeholder: 'Please Select ...',  // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-placeholder
                showLabel: false,                  // More info about showLabel: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-showLabel
                enhance: true                      // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta4/image#!opt-enhance
            });

            document
                .getElementById('imageIcons-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('imageIcons-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Step demo script
        function numberStepInit() {
            var instance = mobiscroll.number('#numberStep-demo', {
                theme: $('#theme').val(),          // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),    // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),  // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),        // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/number#!opt-mode
                layout: 'fixed',                   // More info about layout: https://docs.mobiscroll.com/3-0-0_beta4/number#!opt-layout
                step: 5                            // More info about step: https://docs.mobiscroll.com/3-0-0_beta4/number#!opt-step
            });

            document
                .getElementById('numberStep-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('numberStep-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);

        }

        // Dialog demo script
        function widgetDialogInit() {
            var instance = mobiscroll.widget('#widgetDialog-demo', {
                theme: $('#theme').val(),            // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),      // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),    // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                anchor: '#widgetDialog-show',        // More info about anchor: https://docs.mobiscroll.com/3-0-0_beta4/widget#!opt-anchor
                buttons: [{                          // More info about buttons: https://docs.mobiscroll.com/3-0-0_beta4/widget#!opt-buttons
                    text: 'Great',
                    handler: 'set'
                }, {
                    text: 'I’ve been better',
                    handler: 'cancel'
                }],
                onBeforeShow: function (ev, inst) {  // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta4/widget#!event-onBeforeShow
                    var s = inst.settings;
            
                    if (s.theme == 'wp' || s.baseTheme == 'wp') {
                        s.buttons[0].icon = 'checkmark';
                        s.buttons[1].icon = 'close';
                    }
                }
            });

            document
                .getElementById('widgetDialog-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);

        }

        // Alert message demo script
        function widgetMessageInit() {
            var instance = mobiscroll.widget('#widgetMessage-demo', {
                theme: $('#theme').val(),               // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),         // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),       // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),
                anchor: '#widgetMessage-show',          // More info about anchor: https://docs.mobiscroll.com/3-0-0_beta4/widget#!opt-anchor
                buttons: [{                             // More info about buttons: https://docs.mobiscroll.com/3-0-0_beta4/widget#!opt-buttons
                    text: 'Agree',
                    handler: 'set'
                }, {
                    text: 'Disagree',
                    handler: 'cancel'
                }],
                onBeforeShow: function (event, inst) {  // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta4/widget#!event-onBeforeShow
                    var s = inst.settings;
            
                    if (s.theme == 'wp' || s.baseTheme == 'wp') {
                        s.buttons[0].icon = 'checkmark';
                        s.buttons[1].icon = 'close';
                    }
                }
            });

            document
                .getElementById('widgetMessage-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);

        }

        // Custom Units demo script
        function scrollerCustomunitsInit() {
            var instance,
                units = ['oz', 'g', 'serving'],
                prevUnit = 'oz',
                wheel = [
                    [{
                        circular: false,            // More info about circular: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!opt-circular
                        data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
                    }, {
                        circular: false,            // More info about circular: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!opt-circular
                        data: ['-', '1/4', '1/2', '3/4']
                    }, {
                        circular: false,            // More info about circular: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!opt-circular
                        data: units
                    }]
                ];
            
            instance = mobiscroll.scroller('#scrollerCustomunits-demo', {
                theme: $('#theme').val(),           // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),     // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),   // Specify display mode like: display: 'bottom' or omit setting to use default
                    mode: $('#mode').val(),         // More info about mode: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!opt-mode
                wheels: wheel,                      // More info about wheels: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!opt-wheels
                validate: function (event, inst) {  // More info about validate: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!event-validate
                    var i,
                        mult = 1,
                        index = event.index,
                        currUnit = event.values[2],
                        disabled = [];
            
                    if (currUnit == 'g' && (prevUnit == 'oz' || prevUnit == 'serving')) {
                        mult = 28;
                    } else if ((currUnit != 'oz' || currUnit != 'serving') && prevUnit == 'g') {
                        mult = 1 / 28;
                    }
            
                    if (currUnit != 'serving') {
                        disabled.push('1/4', '1/2', '3/4');
                    }
            
                    if (index == 2 && currUnit != prevUnit) {
                        for (i = 0; i < wheel[0][0].data.length; ++i) {
                            wheel[0][0].data[i] = Math.round(wheel[0][0].data[i] * mult);
                        }
            
                        inst.settings.wheels = wheel;
                        inst._tempWheelArray[0] = inst._tempWheelArray[0] * mult;
                        inst.changeWheel({
                            0: wheel[0][0]
                        });
            
                        prevUnit = currUnit;
                    }
            
                    return {
                        disabled: [                 // More info about disabled: https://docs.mobiscroll.com/3-0-0_beta4/scroller#!opt-disabled
                            [], disabled, []
                        ]
                    }
                },
                parseValue: function (val) {
                    var hasUnit;
            
                    if (val) {
                        val = val.toString().split(' ');
                        hasUnit = units.indexOf(val[1]) !== -1;
                        return [val[0], (hasUnit ? '' : val[1].replace('-', '')), (hasUnit ? val[1] : val[2])];
                    }
            
                    return [0, '-', 'oz'];
                },
                formatValue: function (data) {
                    return (data[2] == 'serving' && data[0] == 0 && data[1] ? '' : data[0]) + (data[1] ? ' ' + data[1].replace('-', '') : '') + ' ' + data[2];
                }
            });

            document
                .getElementById('scrollerCustomunits-show')
                .addEventListener('click', function () {
                    instance.show();
                }, false);
            
            document
                .getElementById('scrollerCustomunits-clear')
                .addEventListener('click', function () {
                    instance.clear();
                }, false);
            
        }

        // Text Fields demo script
        function formsTextfieldsInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Select demo script
        function formsSelectInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Checkbox demo script
        function formsCheckboxInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Switch demo script
        function formsSwitchInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Radio buttons demo script
        function formsRadiobtnInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Buttons demo script
        function formsButtonsInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Typography demo script
        function formsTypographyInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Slider demo script
        function formsSliderInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

        // Stepper demo script
        function formsStepperInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()                      // Specify theme like: theme: 'ios' or omit setting to use default
            };
            
            var numpadInstance,
                stepperCons = document.querySelector('.md-consumption'),
                luggageStepper = document.querySelector('.md-luggage'),
                numpadCons = document.querySelector('.md-numpad');
            
            document
                .querySelector('.md-allow')
                .addEventListener('change', function (ev) {
                    luggageStepper.disabled = !this.checked;
                });
            
            numpadInstance = mobiscroll.numpad('.md-numpad', {
                 
                theme: $('#theme').val(),  // Specify theme like: theme: 'ios' or omit setting to use default
                preset: 'decimal',
                min: 5,
                max: 120,
                onSet: function (event, inst) {
                    stepperCons.value = event.valueText;
                }
            });
            
            numpadInstance.setVal(stepperCons.value);
            
            numpadInstance.attachShow(stepperCons);
            
            stepperCons.addEventListener('change', function (ev) {
                numpadCons.value = this.value;
            });
        }

        // Progress demo script
        function formsProgressInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()         // Specify theme like: theme: 'ios' or omit setting to use default
            };
            
            /* Download progress */
            var downloadInst = mobiscroll.progress('#formsProgress-download', {
                    theme: $('#theme').val(),    // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),  // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),
                    mode: $('#mode').val()
                }),
                interval,
                i;
            
            function startDownload() {
                i = 0;
                clearInterval(interval);
                
                    interval = setInterval(function () {
                        if (i == 100) {
                            clearInterval(interval);
                        }
                        downloadInst.setVal(i += 5);
                    }, 600);
            }
            
            document
                .querySelector('.md-restart')
                .addEventListener('click', function () {
                    startDownload();
                }, false);
            
            startDownload();
            
            /* Step progress */
            
            var inst = mobiscroll.progress('#formsProgress-progress', {
                theme: $('#theme').val(),
                    lang: $('#language').val(),  // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),
                    mode: $('#mode').val()
            });
            
            document
                .querySelector('.md-update')
                .addEventListener('click', function () {
                    if (inst.getVal() >= 100) {
                        inst.setVal(0);
                    } else {
                        inst.setVal(inst.getVal() + 25);
                    }
                }, false);
            
            /* cloud progress */
            
            var uploadInst = mobiscroll.progress('#formsProgress-uploadProg', {
                    theme: $('#theme').val(),    // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),  // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),
                    mode: $('#mode').val()
                }),
                upInterval,
                uploadList = ['1MB', '5MB', '10MB', '50MB']
            uploadLabels = document.querySelectorAll('.md-upload .mbsc-progress-step-label');
            
            /* replace progress labels */
            for (i = 0; i < uploadLabels.length; ++i) {
                uploadLabels[i].innerHTML = uploadList[i];
            }
            
            function restartUpload() {
                uploadInst.setVal(0);
                clearInterval(upInterval);
                
                    upInterval = setInterval(function () {
                        if (uploadInst.getVal() >= 100) {
                            clearInterval(upInterval);
                        }
            
                        uploadInst.setVal(uploadInst.getVal() + 17);
                    }, 1000);
            }
            
            document
                .querySelector('.md-restart')
                .addEventListener('click', function () {
                    restartUpload();
                }, false);
            
            restartUpload();
            
            /* checkout progress */
            
            var cartInst = mobiscroll.progress('#formsProgress-cartProg', {
                    theme: $('#theme').val(),    // Specify theme like: theme: 'ios' or omit setting to use default
                    lang: $('#language').val(),  // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),
                    mode: $('#mode').val()
                }),
                labelList = ['Cart', 'Signup', 'Checkout', 'Success'],
                checkoutLabels = document.querySelectorAll('.md-demo .mbsc-progress-step-label');
            
            /* replace progress labels */
            for (i = 0; i < checkoutLabels.length; ++i) {
                checkoutLabels[i].innerHTML = labelList[i];
            }
            
            document
                .querySelector('.md-next-step')
                .addEventListener('click', function () {
                    if (cartInst.getVal() >= 100) {
                        cartInst.setVal(0);
                    } else {
                        cartInst.setVal(cartInst.getVal() + 33.34);
                    }
                }, false);
            
            /* init other form elements */
            mobiscroll.form('#formsProgress-demo', {
                theme: $('#theme').val(),
                    lang: $('#language').val(),  // Specify language like: lang: 'pl' or omit setting to use default
                    display: $('#display').val(),
                    mode: $('#mode').val()
            });
        }

        // Segmented demo script
        function formsSegmentedInit() {
            // Use the settings object to change the theme
            mobiscroll.settings = {
                theme: $('#theme').val()  // Specify theme like: theme: 'ios' or omit setting to use default
            };
        }

    </script>
</head>

<body>
    <!-- ------------------------------------------------------------------ -->
    <!-- Demo configurator markup START, ignore this in your implementation -->
    <div class="header">
        <h1>Mobiscroll</h1>
    </div>
    <div id="main" class="demo-main">
        <div>
            <label for="theme">Theme</label>
            <select name="theme" id="theme" class="settings">
                <option value="">Default / Auto</option>
                <option value="mobiscroll">Mobiscroll</option>
                <option value="android-holo">Android Holo</option>
                <option value="wp">Windows Phone</option>
                <option value="ios">iOS</option>
                <option value="bootstrap">Bootstrap</option>
                <option value="android-holo-light">Android Holo Light</option>
                <option value="wp-light">Windows Phone Light</option>
                <option value="mobiscroll-dark">Mobiscroll Dark</option>
                <option value="material">Material</option>
                <option value="material-dark">Material Dark</option>
            </select>
        </div>
        <div>
            <label for="display">Display</label>
            <select name="display" id="display" class="settings">
                <option value="center">Center</option>
                <option value="inline">Inline</option>
                <option value="bubble">Bubble</option>
                <option value="top">Top</option>
                <option value="bottom">Bottom</option>
            </select>
        </div>
        <div>
            <label for="language">Language</label>
            <select name="language" id="language" class="settings">
                <option value="">English</option>
                <option value="hu">Magyar</option>
                <option value="de">Deutsch</option>
                <option value="es">Español</option>
                <option value="fr">Français</option>
                <option value="it">Italiano</option>
                <option value="no">Norsk</option>
                <option value="pt-BR">Pt. Brasileiro</option>
                <option value="zh">Chinese</option>
                <option value="nl">Nederlands</option>
                <option value="tr">Türkçe</option>
                <option value="ja">Japanese</option>
                <option value="pt-PT">Português Europeu</option>
                <option value="sv">Svenska</option>
                <option value="en-UK">English (UK)</option>
                <option value="cs">Čeština</option>
                <option value="sk">Slovenčina</option>
                <option value="ro">Română</option>
                <option value="pl">Polski</option>
                <option value="ru-UA">Русский (UA)</option>
                <option value="fa">فارسی</option>
                <option value="ru">Русский</option>
                <option value="lt">Lietuvių</option>
                <option value="ca">Català</option>
                <option value="da">Dansk</option>
                <option value="he">עברית</option>
            </select>
        </div>
        <div>
            <label for="demo">Demo</label>
            <select name="demo" id="demo" class="settings">
                <optgroup label="Datetime">
                    <option value="datetimeDate" selected>Basic usage date</option>
                    <option value="datetimeInvalid" >Datetime with invalids</option>
                    <option value="datetimeTime" >Basic usage time</option>
                    <option value="datetimeMinmax" >Setting min and max values</option>
                </optgroup>
                <optgroup label="Select">
                    <option value="selectBasic" >Basic usage</option>
                    <option value="selectGroupselect" >Group options</option>
                    <option value="selectMultiple" >Multiple select</option>
                </optgroup>
                <optgroup label="Rating">
                    <option value="ratingStars" >Basic usage</option>
                    <option value="ratingGrades" >Grades</option>
                    <option value="ratingIcons" >Custom Icons</option>
                </optgroup>
                <optgroup label="Measurement">
                    <option value="measurementDistance" >Distance</option>
                    <option value="measurementSpeed" >Speed</option>
                    <option value="measurementTemperature" >Temperature</option>
                    <option value="measurementMass" >Mass</option>
                    <option value="measurementForce" >Force</option>
                </optgroup>
                <optgroup label="List">
                    <option value="listTreelist" >Basic usage</option>
                    <option value="listUnordered" >Unordered list</option>
                </optgroup>
                <optgroup label="Image">
                    <option value="imageText" >Image and Text</option>
                    <option value="imageBasic" >Image Only</option>
                    <option value="imageIcons" >Icon and Text</option>
                </optgroup>
                <optgroup label="Calendar">
                    <option value="calendarTime" >With time scroller</option>
                    <option value="calendarBasic" >Basic usage</option>
                    <option value="calendarMultiday" >Multi day select</option>
                </optgroup>
                <optgroup label="Timespan">
                    <option value="timespanBasic" >Basic usage</option>
                    <option value="timespanDhm" >Day/Hour/Minute span</option>
                </optgroup>
                <optgroup label="Timer">
                    <option value="timerCountdown" >Countdown</option>
                </optgroup>
                <optgroup label="Color">
                    <option value="colorHx" >Basic usage</option>
                </optgroup>
                <optgroup label="Range">
                    <option value="rangeBasic" >Basic usage</option>
                    <option value="rangeTime" >Time range</option>
                    <option value="rangeTwoinputs" >Two inputs</option>
                </optgroup>
                <optgroup label="Eventcalendar">
                    <option value="eventcalendarEvent" >Events</option>
                </optgroup>
                <optgroup label="Listview">
                    <option value="listviewUpdate" >Create, remove, update</option>
                    <option value="listviewSorthandle" >Sort handle</option>
                    <option value="listviewActionmenu" >Action menu</option>
                </optgroup>
                <optgroup label="Number">
                    <option value="numberDecimal" >Decimal</option>
                    <option value="numberStep" >Step</option>
                </optgroup>
                <optgroup label="Numpad">
                    <option value="numpadDecimal" > Decimal</option>
                    <option value="numpadCurrency" >Currency</option>
                    <option value="numpadTime" >Time</option>
                    <option value="numpadPin" >Masked Entry - PIN</option>
                </optgroup>
                <optgroup label="Menustrip">
                    <option value="menustripTabs" >Tab menu</option>
                </optgroup>
                <optgroup label="Widget">
                    <option value="widgetDialog" >Dialog</option>
                    <option value="widgetMessage" >Alert message</option>
                </optgroup>
                <optgroup label="Scroller">
                    <option value="scrollerCustomunits" >Custom Units</option>
                </optgroup>
                <optgroup label="Forms">
                    <option value="formsTextfields" >Text Fields</option>
                    <option value="formsSelect" >Select</option>
                    <option value="formsCheckbox" >Checkbox</option>
                    <option value="formsSwitch" >Switch</option>
                    <option value="formsRadiobtn" >Radio buttons</option>
                    <option value="formsButtons" >Buttons</option>
                    <option value="formsTypography" >Typography</option>
                    <option value="formsSlider" >Slider</option>
                    <option value="formsStepper" >Stepper</option>
                    <option value="formsProgress" >Progress</option>
                    <option value="formsSegmented" >Segmented</option>
                </optgroup>
            </select>
        </div>
    </div>
    <!-- Demo configurator markup END -->
    <!-- ------------------------------------------------------------------ -->

        <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage date START -->
    <div class="demo-wrapper demo-wrapper-datetimeDate">
        <input id="datetimeDate-demo" placeholder="Please Select..." />

        <button id="datetimeDate-clear">Clear</button>
        <button id="datetimeDate-show">Show</button>
        
    </div>
    <!-- Basic usage date END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Datetime with invalids START -->
    <div class="demo-wrapper demo-wrapper-datetimeInvalid">
        <input id="datetimeInvalid-demo" placeholder="Please Select..." />

        <button id="datetimeInvalid-clear">Clear</button>
        <button id="datetimeInvalid-show">Show</button>
        
    </div>
    <!-- Datetime with invalids END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage time START -->
    <div class="demo-wrapper demo-wrapper-datetimeTime">
        <input id="datetimeTime-demo" placeholder="Please Select..." />

        <button id="datetimeTime-clear">Clear</button>
        <button id="datetimeTime-show">Show</button>
        
    </div>
    <!-- Basic usage time END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-selectBasic">
        <select name="City" id="selectBasic-demo">
            <option value="1">Atlanta</option>
            <option value="2">Berlin</option>
            <option value="3">Boston</option>
            <option value="4">Chicago</option>
            <option value="5">London</option>
            <option value="6">Los Angeles</option>
            <option value="7">New York</option>
            <option value="8">Paris</option>
            <option value="9">San Francisco</option>
        </select>

        <button id="selectBasic-clear">Clear</button>
        <button id="selectBasic-show">Show</button>
        
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Group options START -->
    <div class="demo-wrapper demo-wrapper-selectGroupselect">
        <select id="selectGroupselect-demo">
            <optgroup label="USA">
                <option value="1">Atlanta</option>
                <option value="2">Boston</option>
                <option value="3">Chicago</option>
                <option value="4">Los Angeles</option>
                <option value="5">New York</option>
                <option value="6">San Francisco</option>
            </optgroup>
            <optgroup label="UK">
                <option value="7">Bath</option>
                <option value="8">Bristol</option>
                <option value="9">Cambridge</option>
                <option value="10">London</option>
                <option value="11">Leeds</option>
                <option value="12">Manchester</option>
                <option value="13">Newcastle</option>
                <option value="14">Oxford</option>
            </optgroup>
            <optgroup label="China">
                <option value="15">Beijing</option>
                <option value="16">Chongqing</option>
                <option value="17">Shanghai</option>
                <option value="18">Shenzhen</option>
                <option value="19">Tianjin</option>
            </optgroup>
        </select>

        <button id="selectGroupselect-clear">Clear</button>
        <button id="selectGroupselect-show">Show</button>
        
    </div>
    <!-- Group options END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-ratingStars">
        <div class="md-stars">
            <ul class="md-products">
                <li>
                    <div class="md-product">
                        <img src="images/product1.png" />
                        <h3>Chocolate sticks</h3>
                        <p>Crunchy on the inside</p>
                        <span class="md-rate">
                        <span class="md-rating">4 of 5</span>
                        </span>
                    </div>
                </li>
                <li>
                    <div class="md-product">
                        <img src="images/product2.png" />
                        <h3>Hershey's Kisses</h3>
                        <p>Bite-sized piece of heaven</p>
                        <span class="md-rate">
                        <span class="md-rating">4 of 5</span>
                        </span>
                    </div>
                </li>
                <li>
                    <div class="md-product">
                        <img src="images/product3.png" />
                        <h3>Milk chocolate</h3>
                        <p>The all-time favorite</p>
                        <span class="md-rate">
                        <span class="md-rating">3 of 5</span>
                        </span>
                    </div>
                </li>
                <li>
                    <div class="md-product">
                        <img src="images/product4.png" />
                        <h3>Chocolate cupcake</h3>
                        <p>Sweet temptation with chocolate chips</p>
                        <span class="md-rate">
                        <span class="md-rating">5 of 5</span>
                        </span>
                    </div>
                </li>
                <li>
                    <div class="md-product">
                        <img src="images/product5.png" />
                        <h3>Aerated chocolate</h3>
                        <p>Light as air</p>
                        <span class="md-rate">
                        <span class="md-rating">5 of 5</span>
                        </span>
                    </div>
                </li>
                <li>
                    <div class="md-product">
                        <img src="images/product6.png" />
                        <h3>Chocolate truffles</h3>
                        <p>Chocolate ganache and heavenly cocoa</p>
                        <span class="md-rate">
                        <span class="md-rating">5 of 5</span>
                        </span>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Grades START -->
    <div class="demo-wrapper demo-wrapper-ratingGrades">
        <input id="ratingGrades-demo" placeholder="Please Select ..." />

        <button id="ratingGrades-clear">Clear</button>
        <button id="ratingGrades-show">Show</button>
        
    </div>
    <!-- Grades END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Distance START -->
    <div class="demo-wrapper demo-wrapper-measurementDistance">
        <input id="measurementDistance-demo" placeholder="Please Select ..." />

        <button id="measurementDistance-clear">Clear</button>
        <button id="measurementDistance-show">Show</button>
        
    </div>
    <!-- Distance END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Speed START -->
    <div class="demo-wrapper demo-wrapper-measurementSpeed">
        <input id="measurementSpeed-demo" placeholder="Please Select ..." />

        <button id="measurementSpeed-clear">Clear</button>
        <button id="measurementSpeed-show">Show</button>
        
    </div>
    <!-- Speed END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Temperature START -->
    <div class="demo-wrapper demo-wrapper-measurementTemperature">
        <input id="measurementTemperature-demo" placeholder="Please Select ..." />

        <button id="measurementTemperature-clear">Clear</button>
        <button id="measurementTemperature-show">Show</button>
        
    </div>
    <!-- Temperature END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Mass START -->
    <div class="demo-wrapper demo-wrapper-measurementMass">
        <input id="measurementMass-demo" placeholder="Please Select ..." />

        <button id="measurementMass-clear">Clear</button>
        <button id="measurementMass-show">Show</button>
        
    </div>
    <!-- Mass END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Force START -->
    <div class="demo-wrapper demo-wrapper-measurementForce">
        <input id="measurementForce-demo" placeholder="Please Select ..." />

        <button id="measurementForce-clear">Clear</button>
        <button id="measurementForce-show">Show</button>
        
    </div>
    <!-- Force END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-listTreelist">
        <ul id="listTreelist-demo" style="display:none">
            <li data-val="Eastern Division">East
                <ul>
                    <li data-val="Marketing">Marketing
                        <ul>
                            <li data-val="Eden E">Eden E</li>
                            <li data-val="Milda J">Milda J</li>
                            <li data-val="Porfirio R">Porfirio R</li>
                        </ul>
                    </li>
                    <li data-val="Research & Development">R&D
                        <ul>
                            <li data-val="Frances P">Frances P</li>
                            <li data-val="Frank D">Frank D</li>
                            <li data-val="Gianny P">Gianny P</li>
                            <li data-val="Ivan F">Ivan F</li>
                            <li data-val="John M">John M</li>
                            <li data-val="Mildred S">Mildred S</li>
                            <li data-val="Sam P">Sam P</li>
                        </ul>
                    </li>
                    <li data-val="Sales">Sales
                        <ul>
                            <li data-val="Edelmira R">Edelmira R</li>
                            <li data-val="Francie S">Francie S</li>
                            <li data-val="Lean F">Lean F</li>
                            <li data-val="Kirby C">Kirby C</li>
                        </ul>
                    </li>
                </ul>
            </li>
            <li data-val="Western Division">West
                <ul>
                    <li data-val="Marketing">Marketing
                        <ul>
                            <li data-val="Cliff B">Cliff B</li>
                            <li data-val="Helen D">Helen D</li>
                            <li data-val="Stephan V">Stephan V</li>
                        </ul>
                    </li>
                    <li data-val="Research & Development">R&D
                        <ul>
                            <li data-val="Andy G">Andy G</li>
                            <li data-val="Danny A">Danny A</li>
                            <li data-val="Ennio M">Ennio M</li>
                            <li data-val="Emil E">Emil E</li>
                            <li data-val="Frank S">Frank S</li>
                            <li data-val="Gonzo G">Gonzo G</li>
                            <li data-val="Hal A">Hal A</li>
                            <li data-val="Jack G">Jack G</li>
                            <li data-val="John A">John A</li>
                            <li data-val="Simon D">Simon D</li>
                            <li data-val="Victor S">Victor S</li>
                        </ul>
                    </li>
                    <li data-val="Sales">Sales
                        <ul>
                            <li data-val="Dana A">Dana A</li>
                            <li data-val="Frank D">Frank D</li>
                            <li data-val="Leanna S">Leanna S</li>
                            <li data-val="Michael D">Michael D</li>
                        </ul>
                    </li>
                </ul>
            </li>
        </ul>

        <button id="listTreelist-clear">Clear</button>
        <button id="listTreelist-show">Show</button>
        
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Image and Text START -->
    <div class="demo-wrapper demo-wrapper-imageText">
        <ul id="imageText-demo" style="display:none">
            <li data-val="Audi">
                <img src="images/Audi_logo.png" />
                <p>Audi</p>
            </li>
            <li data-val="BMW">
                <img src="images/BMW_logo.png" />
                <p>BMW</p>
            </li>
            <li data-val="Chevrolet">
                <img src="images/Chevrolet_logo.png" />
                <p>Chevrolet</p>
            </li>
            <li data-val="Citroen">
                <img src="images/Citroen_logo.png" />
                <p>Citroen</p>
            </li>
            <li data-val="Dacia">
                <img src="images/Dacia_logo.png" />
                <p>Dacia</p>
            </li>
            <li data-val="Ferrari">
                <img src="images/ferrari_logo.png" />
                <p>Ferrari</p>
            </li>
            <li data-val="Ford">
                <img src="images/Ford_logo.png" />
                <p>Ford</p>
            </li>
            <li data-val="Jaguar">
                <img src="images/Jaguar_logo.png" />
                <p>Jaguar</p>
            </li>
            <li data-val="Lotus">
                <img src="images/lotus_logo.png" />
                <p>Lotus</p>
            </li>
            <li data-val="Mercedes">
                <img src="images/mercedes_logo.png" />
                <p>Mercedes</p>
            </li>
            <li data-val="Opel">
                <img src="images/opel_logo.png" />
                <p>Opel</p>
            </li>
            <li data-val="Porsche">
                <img src="images/Porsche_logo.png" />
                <p>Porsche</p>
            </li>
            <li data-val="Renault">
                <img src="images/renault_logo.png" />
                <p>Renault</p>
            </li>
            <li data-val="Seat">
                <img src="images/Seat_logo.png" />
                <p>Seat</p>
            </li>
            <li data-val="Volkswagen">
                <img src="images/volkswagen_logo.png" />
                <p>Volkswagen</p>
            </li>
        </ul>

        <button id="imageText-clear">Clear</button>
        <button id="imageText-show">Show</button>
        
    </div>
    <!-- Image and Text END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Image Only START -->
    <div class="demo-wrapper demo-wrapper-imageBasic">
        <ul id="imageBasic-demo" style="display:none">
            <li data-val="1">
                <img src="images/fruit-1.png" />
            </li>
            <li data-val="2">
                <img src="images/fruit-2.png" />
            </li>
            <li data-val="3">
                <img src="images/fruit-3.png" />
            </li>
            <li data-val="4">
                <img src="images/fruit-4.png" />
            </li>
            <li data-val="5">
                <img src="images/fruit-5.png" />
            </li>
            <li data-val="6">
                <img src="images/fruit-1.png" />
            </li>
            <li data-val="7">
                <img src="images/fruit-2.png" />
            </li>
            <li data-val="8">
                <img src="images/fruit-3.png" />
            </li>
            <li data-val="9">
                <img src="images/fruit-4.png" />
            </li>
            <li data-val="10">
                <img src="images/fruit-5.png" />
            </li>
            <li data-val="11">
                <img src="images/fruit-1.png" />
            </li>
            <li data-val="12">
                <img src="images/fruit-2.png" />
            </li>
            <li data-val="13">
                <img src="images/fruit-3.png" />
            </li>
            <li data-val="14">
                <img src="images/fruit-4.png" />
            </li>
            <li data-val="15">
                <img src="images/fruit-5.png" />
            </li>
            <li data-val="16">
                <img src="images/fruit-1.png" />
            </li>
            <li data-val="17">
                <img src="images/fruit-2.png" />
            </li>
            <li data-val="18">
                <img src="images/fruit-3.png" />
            </li>
            <li data-val="19">
                <img src="images/fruit-4.png" />
            </li>
            <li data-val="20">
                <img src="images/fruit-5.png" />
            </li>
        </ul>

        <button id="imageBasic-clear">Clear</button>
        <button id="imageBasic-show">Show</button>
        
    </div>
    <!-- Image Only END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Unordered list START -->
    <div class="demo-wrapper demo-wrapper-listUnordered">
        <ul id="listUnordered-demo" style="display:none">
            <li>Sugar</li>
            <li>Salt</li>
            <li>Butter</li>
            <li>Flour</li>
            <li>Chocolate</li>
        </ul>

        <button id="listUnordered-clear">Clear</button>
        <button id="listUnordered-show">Show</button>
        
    </div>
    <!-- Unordered list END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- With time scroller START -->
    <div class="demo-wrapper demo-wrapper-calendarTime">
        
        <input id="calendarTime-demo" placeholder="Please Select..." />

        <button id="calendarTime-clear">Clear</button>
        <button id="calendarTime-show">Show</button>
        
    </div>
    <!-- With time scroller END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-calendarBasic">
        
        <input id="calendarBasic-demo" placeholder="Please Select..." />

        <button id="calendarBasic-clear">Clear</button>
        <button id="calendarBasic-show">Show</button>
        
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Multi day select START -->
    <div class="demo-wrapper demo-wrapper-calendarMultiday">
        
        <input id="calendarMultiday-demo" placeholder="Please Select..." />

        <button id="calendarMultiday-clear">Clear</button>
        <button id="calendarMultiday-show">Show</button>
        
    </div>
    <!-- Multi day select END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Multiple select START -->
    <div class="demo-wrapper demo-wrapper-selectMultiple">
        <select name="Category" id="selectMultiple-demo" multiple>
            <option value="1">Books</option>
            <option value="2">Movies, Music & Games</option>
            <option value="3" selected>Electronics & Computers</option>
            <option value="4" selected>Home, Garden & Tools</option>
            <option value="5">Health & Beauty</option>
            <option value="6">Toys, Kids & Baby</option>
            <option value="7">Clothing & Jewelry</option>
            <option value="8">Sports & Outdoors</option>
            <option value="9">Automotive & Industrial</option>
        </select>

        <button id="selectMultiple-clear">Clear</button>
        <button id="selectMultiple-show">Show</button>
        
    </div>
    <!-- Multiple select END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-timespanBasic">
        <input id="timespanBasic-demo" placeholder="Please Select ..." />

        <button id="timespanBasic-clear">Clear</button>
        <button id="timespanBasic-show">Show</button>
        
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Day/Hour/Minute span START -->
    <div class="demo-wrapper demo-wrapper-timespanDhm">
        <input id="timespanDhm-demo" placeholder="Please Select ..." />

        <button id="timespanDhm-clear">Clear</button>
        <button id="timespanDhm-show">Show</button>
        
    </div>
    <!-- Day/Hour/Minute span END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Countdown START -->
    <div class="demo-wrapper demo-wrapper-timerCountdown">
        <input id="timerCountdown-demo" placeholder="Please Select ..." />
    </div>
    <!-- Countdown END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-colorHx">
        <b>Please choose color</b><br/>
        <div id="colorHx-demo" class="md-color">#ff0000</div>
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Basic usage START -->
    <div class="demo-wrapper demo-wrapper-rangeBasic">
        
        <input id="rangeBasic-demo" placeholder="Please Select ..." />

        <button id="rangeBasic-clear">Clear</button>
        <button id="rangeBasic-show">Show</button>
        
    </div>
    <!-- Basic usage END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Time range START -->
    <div class="demo-wrapper demo-wrapper-rangeTime">
        <input id="rangeTime-demo" placeholder="Please Select ..." />

        <button id="rangeTime-clear">Clear</button>
        <button id="rangeTime-show">Show</button>
        
    </div>
    <!-- Time range END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Two inputs START -->
    <div class="demo-wrapper demo-wrapper-rangeTwoinputs">
        
        <label for="rangeTwoinputs-startDate">Start</label><br/>
        <input id="rangeTwoinputs-startDate" placeholder="Please Select ..." readonly/>
        
        <label for="rangeTwoinputs-endDate">End</label><br/>
        <input id="rangeTwoinputs-endDate" placeholder="Please Select ..." readonly/>
        
        <div id="rangeTwoinputs-demo"></div>
    </div>
    <!-- Two inputs END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Events START -->
    <div class="demo-wrapper demo-wrapper-eventcalendarEvent">
        
        <div id="eventcalendarEvent-demo"></div>

        <button id="eventcalendarEvent-show">Show calendar</button>
        
    </div>
    <!-- Events END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Create, remove, update START -->
    <div class="demo-wrapper demo-wrapper-listviewUpdate">
        
        <div id="listviewUpdate-demo_note" class="md-demo-note demo-note" style="display:none;">
            Whooa, list is empty. Tap here to refresh! &nbsp;
            <span class="mbsc-ic mbsc-ic-loop2"></span>
        </div>
        
        <ul id="listviewUpdate-demo" class="md-wo-list" style="display:none">
            <li data-id="listviewUpdate-1">Work order #0001
                <div class="md-wo-status">Assigned</div>
            </li>
            <li data-id="listviewUpdate-2">Work order #0002
                <div class="md-wo-status">Assigned</div>
            </li>
            <li data-id="listviewUpdate-3">Work order #0003
                <div class="md-wo-status">Assigned</div>
            </li>
            <li data-id="listviewUpdate-4">Work order #0004
                <div class="md-wo-status">Assigned</div>
            </li>
            <li data-id="listviewUpdate-5">Work order #0005
                <div class="md-wo-status">Assigned</div>
            </li>
            <li data-id="listviewUpdate-6">Work order #0006
                <div class="md-wo-status">Assigned</div>
            </li>
        </ul>
    </div>
    <!-- Create, remove, update END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Sort handle START -->
    <div class="demo-wrapper demo-wrapper-listviewSorthandle">
        
        <ul id="listviewSorthandle-demo" style="display:none">
            <li><img src="images/m1.png" />
                <h3>Barry Lyon</h3>
                <p>(202) 555-0193</p>
            </li>
            <li><img src="images/f1.png" />
                <h3>Hortense Tinker</h3>
                <p>(202) 555-0127</p>
            </li>
            <li><img src="images/m2.png" />
                <h3>Carl Hambledon</h3>
                <p>(202) 555-0147</p>
            </li>
            <li><img src="images/f2.png" />
                <h3>Arlene Sharman</h3>
                <p>(202) 555-0190</p>
            </li>
            <li><img src="images/m3.png" />
                <h3>Noble Blythe</h3>
                <p>(202) 555-0176</p>
            </li>
            <li><img src="images/f3.png" />
                <h3>Angelica Geary</h3>
                <p>(202) 555-0107</p>
            </li>
            <li><img src="images/m4.png" />
                <h3>Lowell Christophers</h3>
                <p>(202) 555-0120</p>
            </li>
            <li><img src="images/f4.png" />
                <h3>Leilah Gregory</h3>
                <p>(202) 555-0189</p>
            </li>
        </ul>
    </div>
    <!-- Sort handle END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Action menu START -->
    <div class="demo-wrapper demo-wrapper-listviewActionmenu">
        <ul id="listviewActionmenu-demo" style="display:none">
            <li data-type="folder" data-icon="folder">Music
                <ul>
                    <li data-type="music" data-icon="music">Track 1</li>
                    <li data-type="music" data-icon="music">Track 2</li>
                    <li data-type="music" data-icon="music">Track 3</li>
                </ul>
            </li>
            <li data-type="folder" data-icon="folder">Photos
                <ul>
                    <li data-type="picture" data-icon="image2">Image 1</li>
                    <li data-type="picture" data-icon="image2">Image 2</li>
                    <li data-type="picture" data-icon="image2">Image 3</li>
                </ul>
            </li>
            <li data-type="folder" data-icon="folder">Videos
                <ul>
                    <li data-type="movie" data-icon="play">Movie 1</li>
                    <li data-type="movie" data-icon="play">Movie 2</li>
                    <li data-type="movie" data-icon="play">Movie 3</li>
                </ul>
            </li>
            <li data-type="picture" data-icon="image2">Image 1</li>
            <li data-type="picture" data-icon="image2">Image 2</li>
            <li data-type="picture" data-icon="image2">Image 3</li>
            <li data-type="picture" data-icon="image2">Image 4</li>
            <li data-type="picture" data-icon="image2">Image 5</li>
            <li data-type="picture" data-icon="file4">File 1</li>
            <li data-type="picture" data-icon="file4">File 2</li>
        </ul>
    </div>
    <!-- Action menu END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Custom Icons START -->
    <div class="demo-wrapper demo-wrapper-ratingIcons">
        <input id="ratingIcons-demo" placeholder="Please Select ..." />

        <button id="ratingIcons-clear">Clear</button>
        <button id="ratingIcons-show">Show</button>
        
    </div>
    <!-- Custom Icons END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Decimal START -->
    <div class="demo-wrapper demo-wrapper-numberDecimal">
        <input id="numberDecimal-demo" placeholder="Please Select ..." />

        <button id="numberDecimal-clear">Clear</button>
        <button id="numberDecimal-show">Show</button>
        
    </div>
    <!-- Decimal END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!--  Decimal START -->
    <div class="demo-wrapper demo-wrapper-numpadDecimal">
        <input id="numpadDecimal-demo" placeholder="Please Select ..." />

        <button id="numpadDecimal-clear">Clear</button>
        <button id="numpadDecimal-show">Show</button>
        
    </div>
    <!--  Decimal END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Currency START -->
    <div class="demo-wrapper demo-wrapper-numpadCurrency">
        <div class="md-stepper-np" style="display:none" mbsc-enhance>
            <div class="mbsc-padding md-demo">
                <h4 class="md-title">Automatically top up account</h4>
                <div class="mbsc-desc ">Top up from credit card if account falls bellow $10</div>
                <div>
                    <div>
                        <input id="numpadCurrency-md-price" class="md-price" data-role="stepper" min="5" max="500" value="20" step="10" readonly />
                        <div id="numpadCurrency-demo" class="md-numpad"></div>
                    </div>
                </div>
                <button class="mbsc-btn-block">Save Settings</button>
            </div>
        </div>
    </div>
    <!-- Currency END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Time START -->
    <div class="demo-wrapper demo-wrapper-numpadTime">
        <input id="numpadTime-demo" placeholder="Please Select ..." />

        <button id="numpadTime-clear">Clear</button>
        <button id="numpadTime-show">Show</button>
        
    </div>
    <!-- Time END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Masked Entry - PIN START -->
    <div class="demo-wrapper demo-wrapper-numpadPin">
        <input id="numpadPin-demo" placeholder="Please Select ..." />

        <button id="numpadPin-clear">Clear</button>
        <button id="numpadPin-show">Show</button>
        
    </div>
    <!-- Masked Entry - PIN END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Setting min and max values START -->
    <div class="demo-wrapper demo-wrapper-datetimeMinmax">
        <input id="datetimeMinmax-demo" placeholder="Please Select..." />

        <button id="datetimeMinmax-clear">Clear</button>
        <button id="datetimeMinmax-show">Show</button>
        
    </div>
    <!-- Setting min and max values END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Tab menu START -->
    <div class="demo-wrapper demo-wrapper-menustripTabs">
        <ul id="menustripTabs-demo" style="display:none;">
            <li data-tab="tab-downloaded" data-selected="true">Downloaded</li>
            <li data-tab="tab-all">All</li>
            <li data-tab="tab-external">External storage</li>
            <li data-tab="tab-running">Running</li>
            <li data-tab="tab-disabled">Disabled</li>
        </ul>
        <div id="menustripTabs-tab-downloaded" class="md-tab-h md-tabs-sel tab-downloaded">
            <ul class="md-apps-ul" style="display:none;">
                <li><span class="md-app-ic mbsc-ic mbsc-ic-calendar"></span>Calendar<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">19/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-camera"></span>Camera<span class="md-app-detail"><span class="md-app-size">43.11MB</span><span class="md-app-date">10/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-folder"></span>File Manager<span class="md-app-detail"><span class="md-app-size">12.66MB</span><span class="md-app-date">9/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-earth"></span>Maps<span class="md-app-detail"><span class="md-app-size">46.21MB</span><span class="md-app-date">21/10/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">20/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-play"></span>Youtube<span class="md-app-detail"><span class="md-app-size">26.47MB</span><span class="md-app-date">18/10/2014</span></span>
                </li>
            </ul>
        </div>
        <div id="menustripTabs-tab-external" class="md-tab-h tab-external">
            <ul class="md-apps-ul" style="display:none;">
                <li><span class="md-app-ic mbsc-ic mbsc-ic-calendar"></span>Calendar<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">09/09/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-earth"></span>Maps<span class="md-app-detail"><span class="md-app-size">46.21MB</span><span class="md-app-date">19/08/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">17/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-play"></span>Youtube<span class="md-app-detail"><span class="md-app-size">26.47MB</span><span class="md-app-date">16/11/2014</span></span>
                </li>
            </ul>
        </div>
        <div id="menustripTabs-tab-running" class="md-tab-h tab-running">
            <ul class="md-apps-ul" style="display:none;">
                <li><span class="md-app-ic mbsc-ic mbsc-ic-clock"></span>Clock<span class="md-app-detail"><span class="md-app-size">1.52MB</span><span class="md-app-date">16/10/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-folder"></span>File Manager<span class="md-app-detail"><span class="md-app-size">12.66MB</span><span class="md-app-date">10/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-bubble"></span>Messages<span class="md-app-detail"><span class="md-app-size">25.57MB</span><span class="md-app-date">09/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">08/11/2014</span></span>
                </li>
            </ul>
        </div>
        <div id="menustripTabs-tab-all" class="md-tab-h tab-all">
            <ul class="md-apps-ul" style="display:none;">
                <li><span class="md-app-ic mbsc-ic mbsc-ic-globe"></span>Browser<span class="md-app-detail"><span class="md-app-size">74.68MB</span><span class="md-app-date">18/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-calendar"></span>Calendar<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">17/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-camera"></span>Camera<span class="md-app-detail"><span class="md-app-size">43.11MB</span><span class="md-app-date">19/10/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-clock"></span>Clock<span class="md-app-detail"><span class="md-app-size">1.52MB</span><span class="md-app-date">10/10/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-user4"></span>Contacts<span class="md-app-detail"><span class="md-app-size">5.43MB</span><span class="md-app-date">11/08/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-copy3"></span>Docs<span class="md-app-detail"><span class="md-app-size">32.41MB</span><span class="md-app-date">19/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-folder"></span>File Manager<span class="md-app-detail"><span class="md-app-size">12.66MB</span><span class="md-app-date">18/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-image2"></span>Gallery<span class="md-app-detail"><span class="md-app-size">1.68MB</span><span class="md-app-date">17/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-earth"></span>Maps<span class="md-app-detail"><span class="md-app-size">46.21MB</span><span class="md-app-date">18/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-phone"></span>Phone<span class="md-app-detail"><span class="md-app-size">1.28MB</span><span class="md-app-date">19/11/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-foundation-mail"></span>Email<span class="md-app-detail"><span class="md-app-size">6.65MB</span><span class="md-app-date">05/07/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-bubble"></span>Messages<span class="md-app-detail"><span class="md-app-size">25.57MB</span><span class="md-app-date">06/06/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">20/10/2014</span></span>
                </li>
                <li><span class="md-app-ic mbsc-ic mbsc-ic-play"></span>Youtube<span class="md-app-detail"><span class="md-app-size">26.47MB</span><span class="md-app-date">18/11/2014</span></span>
                </li>
            </ul>
        </div>
        <div id="menustripTabs-tab-disabled" class="md-tab-h tab-disabled">
            <ul class="md-apps-ul" style="display:none;">
                <li><span class="md-app-ic mbsc-ic mbsc-ic-user4"></span>Contacts<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">17/11/2014</span></span>
                </li>
            </ul>
        </div>
    </div>
    <!-- Tab menu END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Icon and Text START -->
    <div class="demo-wrapper demo-wrapper-imageIcons">
        <ul id="imageIcons-demo" style="display:none">
            <li data-val="Share" data-icon="share">
                <p>Share</p>
            </li>
            <li data-val="Bookmark" data-icon="star">
                <p>Bookmark</p>
            </li>
            <li data-val="Flag" data-icon="flag">
                <p>Flag</p>
            </li>
            <li data-val="Tag" data-icon="tag">
                <p>Tag</p>
            </li>
            <li data-val="Download" data-icon="download">
                <p>Download</p>
            </li>
            <li data-val="Delete" data-icon="remove">
                <p>Delete</p>
            </li>
        </ul>

        <button id="imageIcons-clear">Clear</button>
        <button id="imageIcons-show">Show</button>
        
    </div>
    <!-- Icon and Text END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Step START -->
    <div class="demo-wrapper demo-wrapper-numberStep">
        <input id="numberStep-demo" placeholder="Please Select ..." />

        <button id="numberStep-clear">Clear</button>
        <button id="numberStep-show">Show</button>
        
    </div>
    <!-- Step END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Dialog START -->
    <div class="demo-wrapper demo-wrapper-widgetDialog">
        <div id="widgetDialog-demo" style="display: none;">
            <div class="md-dialog">
                <h3 class="md-text-center">Hi Molly</h3>
                <p class="md-text-center">How are you feeling today?</p>
            </div>
        </div>

        <button id="widgetDialog-show">How are you feeling?</button>
        
    </div>
    <!-- Dialog END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Alert message START -->
    <div class="demo-wrapper demo-wrapper-widgetMessage">
        <div id="widgetMessage-demo" style="display: none;">
            <div class="md-body">
                <h3>Use Google's location service?</h3>
                <p>Let Google help apps determine location. This meas sending anonymus location data to Google, even when no apps are running.</p>
            </div>
        </div>

        <button id="widgetMessage-show">Use Location Services?</button>
        
    </div>
    <!-- Alert message END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Custom Units START -->
    <div class="demo-wrapper demo-wrapper-scrollerCustomunits">
        <input id="scrollerCustomunits-demo" placeholder="Please Select ..." />

        <button id="scrollerCustomunits-clear">Clear</button>
        <button id="scrollerCustomunits-show">Show</button>
        
    </div>
    <!-- Custom Units END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Text Fields START -->
    <div class="demo-wrapper demo-wrapper-formsTextfields">
        <div id="formsTextfields-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Single-line text</div>
        
            <div>
                <label for="formsTextfields-name">Label</label>
                <input id="formsTextfields-name" type="text" placeholder="Text field label" />
            </div>
        
            <label>
                Password
                <input type="password" placeholder="Text field with icon" data-icon="lock2" />
            </label>
        
            <label>
                Password Toggle
                <input type="password" placeholder="Text field with icon" data-icon="lock2" data-password-toggle="true" />
            </label>
        
            <label>
                <input type="text" placeholder="Text field with right icon" data-icon="pencil" data-icon-align="right" />
            </label>
        
            <label>
                <input type="text" placeholder="Text field disabled" disabled/>
            </label>
        
            <label class="mbsc-err">
                <input type="text" placeholder="Text field with error style"  />
            </label>
        
            <label class="mbsc-err">
                <input type="text" placeholder="Text field with error style and message"  />
                <span class="mbsc-err-msg">Error message!</span>
            </label>
        
            <div class="mbsc-divider">Multi-line text</div>
        
            <label>
                Label
                <textarea></textarea>
            </label>
        
            <label>
                <textarea data-icon="pencil" data-icon-align="right"></textarea>
            </label>
        
            <label>
                Label
                <textarea data-icon="bubble" data-icon-align="left"></textarea>
            </label>
        
            <label>
                <textarea placeholder="disabled" disabled></textarea>
            </label>
        
            <label class="mbsc-err">
                <textarea></textarea>
                <span class="mbsc-err-msg">Error message!</span>
            </label>
        </div>
    </div>
    <!-- Text Fields END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Select START -->
    <div class="demo-wrapper demo-wrapper-formsSelect">
        <div id="formsSelect-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Select</div>
        
            <label>
                Label
                <select class="md-select">
                    <option>Select</option>
                    <option value="volvo">Volvo</option>
                    <option value="saab">Saab</option>
                    <option value="mercedes">Mercedes</option>
                    <option value="audi">Audi</option>
                </select>
            </label>
            <label>
                <select class="md-select" data-icon="plus" data-icon-align="right">
                    <option>Select with icon</option>
                    <option value="opel">Opel</option>
                    <option value="renault">Renault</option>
                    <option value="Citroen">Citroen</option>
                    <option value="Lotus">Lotus</option>
                </select>
            </label>
            <label>
                <select class="md-select" data-icon="plus" data-icon-align="left">
                    <option>Select with right icon</option>
                    <option value="Peugeot">Peugeot</option>
                    <option value="Porsche">Porsche</option>
                    <option value="Fiat">Fiat</option>
                    <option value="Volkswagen">Volkswagen</option>
                </select>
            </label>
            <label class="mbsc-err">
                <select class="md-select">
                    <option>Select error</option>
                    <option value="Ferrari">Ferrari</option>
                    <option value="Honda">Honda</option>
                    <option value="Suzuki">Suzuki</option>
                    <option value="Lamborghini">Lamborghini</option>
                </select>
            </label>
            <label>
                <select disabled>
                    <option>Select disabled</option>
                    <option value="Bentley">Bentley</option>
                    <option value="Morgan">Morgan</option>
                    <option value="Chevrolet">Chevrolet</option>
                    <option value="Dodge">Dodge</option>
                </select>
            </label>
        </div>
    </div>
    <!-- Select END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Checkbox START -->
    <div class="demo-wrapper demo-wrapper-formsCheckbox">
        <div id="formsCheckbox-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Checkbox</div>
        
            <label>
                <input type="checkbox" checked>
                Option 1
                <span class="mbsc-desc">Checked checkbox</span>
            </label>
            <label>
                <input type="checkbox">
                Option 2
                <span class="mbsc-desc">Empty checkbox</span>
            </label>
            <label>
                <input type="checkbox" disabled> 
                Option 3
                <span class="mbsc-desc">Disabled checkbox</span>
            </label>
            <label>
                <input type="checkbox" checked disabled>
                Option 4
                <span class="mbsc-desc">Disabled and checked checkbox</span>
            </label>
        </div>
    </div>
    <!-- Checkbox END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Switch START -->
    <div class="demo-wrapper demo-wrapper-formsSwitch">
        <div id="formsSwitch-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Switch</div>
        
            <label>
                <input data-role="switch" type="checkbox"> Switch Off
                <span class="mbsc-desc">This is description for Switch</span>
            </label>
        
            <label>
                <input data-role="switch" type="checkbox" checked> Switch On
                <span class="mbsc-desc">This is description for Switch 2</span>
            </label>
            <label>
                <input data-role="switch" type="checkbox" disabled> Disabled Switch Off
            </label>
            <label>
                <input data-role="switch" type="checkbox" disabled checked> Disabled Switch On
            </label>
        </div>
    </div>
    <!-- Switch END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Radio buttons START -->
    <div class="demo-wrapper demo-wrapper-formsRadiobtn">
        <div id="formsRadiobtn-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Radio buttons</div>
        
            <label>
                <input type="radio" name="group" checked> Radio Option 1
                <span class="mbsc-desc">This is description for radio 1</span>
            </label>
            <label>
                <input type="radio" name="group"> Radio Option 2
                <span class="mbsc-desc">This is description for radio 2</span>
            </label>
            <label>
                <input type="radio" name="group"> Radio Option 3
            </label>
            <label>
                <input type="radio" name="group" disabled> Disabled
            </label>
        </div>
    </div>
    <!-- Radio buttons END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Buttons START -->
    <div class="demo-wrapper demo-wrapper-formsButtons">
        <div id="formsButtons-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Buttons</div>
        
            <div class="mbsc-btn-group">
                <button>Button</button>
                <button disabled>Disabled</button>
            </div>
        
            <div class="mbsc-padding">
                <button class="mbsc-btn-block">Full width button</button>
                <button class="mbsc-btn-block" disabled>Disabled full width</button>
            </div>
        
            <div class="mbsc-divider">Icons</div>
        
            <div class="mbsc-btn-group">
                <button data-icon="tag"></button>
                <button data-icon="heart"></button>
                <button data-icon="flag" disabled></button>
            </div>
            <div class="mbsc-btn-group">
                <button data-icon="tag">Tag</button>
                <button data-icon="heart">Favorite</button>
                <button data-icon="flag" disabled>Flag</button>
            </div>
        
            <div class="mbsc-divider">Flat Buttons</div>
            <div class="mbsc-btn-group">
                <button class="mbsc-btn-flat">Flat</button>
                <button class="mbsc-btn-flat" data-icon="arrow-left5">Flat & Icon</button>
                <button class="mbsc-btn-flat" data-icon="arrow-left5"></button>
                <button class="mbsc-btn-flat" data-icon="key2" disabled></button>
                <button class="mbsc-btn-flat" disabled>Flat disabled</button>
            </div>
        </div>
    </div>
    <!-- Buttons END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Typography START -->
    <div class="demo-wrapper demo-wrapper-formsTypography">
        <div id="formsTypography-demo" style="font-family: inherit;" mbsc-enhance>
            <div class="mbsc-padding">
                <h1>Heading 1</h1>
                <h2>Heading 2</h2>
                <h3>Heading 3</h3>
                <h4>Heading 4</h4>
                <h5>Heading 5</h5>
                <h6>Heading 6</h6>
                <p class="mbsc-bold"> Bold paragraph with a <a href="#">link</a> inside.</p>
                <p class="mbsc-medium"> Medium paragraph with a <a href="#">link</a> inside.</p>
                <p class="mbsc-thin"> Thin paragraph with a <a href="#">link</a> inside.</p>
                <p class="mbsc-italic"> Italic paragraph with a <a href="#">link</a> inside.</p>
            </div>
        </div>
    </div>
    <!-- Typography END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Slider START -->
    <div class="demo-wrapper demo-wrapper-formsSlider">
        <div id="formsSlider-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Sound settings</div>
            <label>
                <input type="range" value="30" data-icon='{ "left": "volume-mute2", "right": "volume-high" }' />
            </label>
            <label>
                <input type="range" value="50" data-icon="alarm2" disabled />
            </label>
            <label>
                Weight
                <input type="range" value="130" min="80" max="300" data-val="left" data-template="{value} lbs" data-highlight="false" />
            </label>
            <label>
                Price
                <input type="range" value="100" min="0" max="500" step="25" data-tooltip="true" data-step-labels="[0, 100, 200, 300, 400, 500]">
                <input type="range" value="400" min="0" max="500" step="25" />
            </label>
            <label>
                Steps
                <input type="range" value="50" min="0" max="100" step="25" data-step-labels="[0, 25, 50, 75, 100]">
            </label>
            <label>
                Multiple
                <input type="range" value="100" min="0" max="3000" data-tooltip="true" data-step-labels="[0, 500, 1000, 1500, 2000, 2500, 3000]">
                <input type="range" value="500" min="0" max="3000" />
                <input type="range" value="2000" min="0" max="3000" />
                <input type="range" value="2800" min="0" max="3000" />
            </label>
        </div>
    </div>
    <!-- Slider END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Stepper START -->
    <div class="demo-wrapper demo-wrapper-formsStepper">
        <div id="formsStepper-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Passengers</div>
            <div>
                <label for="formsStepper-md-adults">Adults</label>
                <span class="mbsc-desc">From 14 years</span>
                <input id="formsStepper-md-adults" type="number" data-role="stepper" min="1" value="1" max="15" />
            </div>
        
            <div>
                <label for="formsStepper-md-children">Children</label>
                <span class="mbsc-desc">2-14 years</span>
                <input id="formsStepper-md-children" type="number" data-role="stepper" max="15" data-val="left" />
            </div>
        
            <div>
                <label for="formsStepper-md-infant">Infant</label>
                <span class="mbsc-desc">0-2 years</span>
                <input id="formsStepper-md-infant" type="number" data-role="stepper" data-val="left" max="10" />
            </div>
            <div class="mbsc-divider">Luggage</div>
            <label>
                Allow overweight luggage
                <input class="md-allow" type="checkbox" />
            </label>
        
            <div>
                <label for="formsStepper-md-luggage">Weight</label>
                <span class="mbsc-desc">(kg)</span>
                <input id="formsStepper-md-luggage" type="number" class="md-luggage" data-role="stepper" data-val="left" min="30" max="80" step="5" value="30" disabled />
            </div>
        
            <div class="mbsc-divider">Stepper with Numpad</div>
        
            <div>
                <label for="formsStepper-md-luggage">Consumption</label>
                <div class="mbsc-desc">(mpg)</div>
                <input id="formsStepper-md-consumption" class="md-consumption" type="number" data-role="stepper" data-val="left" min="5" max="120" step=".5" value="30" readonly />
                <div class="md-numpad"></div>
            </div>
        
        </div>
    </div>
    <!-- Stepper END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Progress START -->
    <div class="demo-wrapper demo-wrapper-formsProgress">
        <div id="formsProgress-demo" class="md-progress-demo" style="display:none" mbsc-enhance>
        
            <div class="mbsc-divider">Downloading file</div>
            <label>
                <progress id="formsProgress-download" value="0" max="100" data-icon='{ "left": "cloud-download" }' data-val="right"></progress>
            </label>
        
            <div class="mbsc-btn-group">
                <button class="mbsc-btn md-restart">Restart download</button>
            </div>
        
            <label>
                <progress id="formsProgress-progress" value="0" max="100" data-step-labels="[0, 25, 50, 75, 100]"></progress>
            </label>
        
            <div class="mbsc-btn-group">
                <button class="mbsc-btn md-update">Update progress</button>
            </div>
        
            <div class="mbsc-divider">Cloud upload</div>
            <label class="md-upload">
                <progress  value="0" id="formsProgress-uploadProg" max="100" data-step-labels="[0, 33, 66, 100]" data-icon='{ "left": "cloud-upload" }'></progress>
            </label>
        
            <div class="mbsc-btn-group">
                <button class="mbsc-btn md-restart-up">Restart upload</button>
            </div>
        
            <div class="mbsc-divider">Checkout process</div>
            <label class="md-demo">
                <progress id="formsProgress-cartProg" value="0" max="100" data-step-labels="[0, 33, 66, 100]"></progress>
            </label>
        
            <div class="mbsc-btn-group">
                <button class="mbsc-btn md-next-step">Next step</button>
            </div>
        </div>
    </div>
    <!-- Progress END -->
    <!-- ------------------------------------------------------------------------------- -->

    <!-- ------------------------------------------------------------------------------- -->
    <!-- Segmented START -->
    <div class="demo-wrapper demo-wrapper-formsSegmented">
        <div id="formsSegmented-demo" style="display:none" mbsc-enhance>
            <div class="mbsc-divider">Single select</div>
            <label>
                Day
                <input type="radio" data-role="segmented" name="range">
            </label>
            <label>
                Week
                <input type="radio" data-role="segmented" name="range" checked>
            </label>
            <label>
                Month
                <input type="radio" data-role="segmented" name="range">
            </label>
            <label>
                Year
                <input type="radio" data-role="segmented" name="range" checked>
            </label>

            <div class="mbsc-divider">Multiple select</div>
        
            <label>
                S
                <input type="checkbox" data-role="segmented" name="week" disabled>
            </label>
            <label>
                M
                <input type="checkbox" data-role="segmented" name="week" checked>
            </label>
            <label>
                T
                <input type="checkbox" data-role="segmented" name="week" >
            </label>
            <label>
                W
                <input type="checkbox" data-role="segmented" name="week" >
            </label>
            <label>
                T
                <input type="checkbox" data-role="segmented" name="week" checked>
            </label>
            <label>
                F
                <input type="checkbox" data-role="segmented" name="week" >
            </label>
            <label>
                S
                <input type="checkbox" data-role="segmented" name="week" disabled>
            </label>
        
            <div class="mbsc-divider">Text and Icon</div>
        
            <label>
                Featured
                <input type="radio" data-role="segmented" data-icon="material-star" name="app" checked>
            </label>
            <label>
                Explore
                <input type="radio" data-role="segmented" data-icon="material-explore" name="app">
            </label>
            <label>
                Updates
                <input type="radio" data-role="segmented" data-icon="material-system-update" name="app">
            </label>
        
            <div class="mbsc-divider">Icon</div>
        
            <label>
                <input type="radio" data-role="segmented" data-icon="fa-mail-reply" name="settings">
            </label>
            <label>
                <input type="radio" data-role="segmented" data-icon="fa-retweet" name="settings">
            </label>
            <label>
                <input type="radio" data-role="segmented" data-icon="star3" name="settings" checked>
            </label>
            <label>
                <input type="radio" data-role="segmented" data-icon="cogs" name="settings">
            </label>
        
            <div class="mbsc-divider">Disabled</div>
        
            <label>
                Idividual
                <input type="radio" data-role="segmented" name="org" disabled checked>
            </label>
            <label>
                Team
                <input type="radio" data-role="segmented" name="org" disabled>
            </label>
            <label>
                Company
                <input type="radio" data-role="segmented" name="org" disabled>
            </label>
        
        </div>
    </div>
    <!-- Segmented END -->
    <!-- ------------------------------------------------------------------------------- -->

</body>

</html>
